import datetime
from python_baway.common.xcommon import sep

sep('now, datetime')
xnowdt3 = datetime.datetime.now()
print(xnowdt3.ctime())

sep('to isoformat')
xnowdt3_iso = xnowdt3.isoformat()
print(xnowdt3_iso)

sep('from isoformat')
xnowdt32 = datetime.datetime.fromisoformat(xnowdt3_iso)
xnowdt32_iso = xnowdt32.isoformat()
print(xnowdt32_iso)
